﻿<div class="knowledgemian" ng-controller="upfile" nv-file-drop uploader="uploader"
    nv-file-over>
    <div class="knowledgebody">
        <div class="knowledgeleft" ng-cloak>
            <ul class="knowledgelefttop">
                <li ng-click="discon.disnewfile || createfolder()" ng-disabled="discon.disnewfile"><i
                    class="iconfont" style="color: #ffba00; font-size: 20px; margin-right: 6px; position: relative;
                    top: 3px;">&#xe6b2;</i>{{'CreateFolder'|T}}</li>
                <li class="knowledgeleft_shangchuan" ng-disabled="discon.disupfile" ng-click="allPlayUpload()" id="uploadAllBase"><i class="iconfont"
                    style="color: #3399ff; font-size: 20px; position: relative; top: 3px; margin-right: 5px;">
                    &#xe6bf;</i>{{'FileUpload'|T}}</li>                      
                <li ng-click="myShare()"><i class="iconfont" style="font-size: 18px; color: #77D2FB;">
                    &#xe6c8;</i>{{'MyShare'|T}}</li>
                <li><a ng-click="selectTxt()"><i class="iconfont" style="color: #FF7743;">&#xe608;</i>{{'Notepad'|T}}</a><span
                    ng-click="addnotepad()"><i class="iconfont">&#xe7f7;</i>{{'NewlyBuild'|T}}</span></li>
            </ul>
            <div class="knowledgeleftmiddle">
                <div class="panel">
                    <div class="panel-title">
                        <i class="iconfont"></i>{{'Label'|T}}</div>
                    <ul class="panel-body">
                        <li ng-repeat="laitem in upnamelist">
                            <div class="knowledgebiaoqianyuan">
                                <svg class="icon" aria-hidden="true" ng-click="tagsel(laitem)"><use xlink:href="{{laitem.tagcolor}}"></use></svg>
                            </div>
                            <div class="biaoqianname">
                                <div ng-bind="laitem.tagname" title="{{laitem.tagname}}" ng-click="tagsel(laitem)">
                                    {{'LabelName'|T}}</div>
                                <span ng-click="istxtshow(laitem)">
                                    <svg class="icon" aria-hidden="true"><use xlink:href="#icon-zhongmingming"></use></svg>
                                    {{'Rename'|T}}</span></div>
                            <div class="knowledgebiaoqianxiugaibody" ng-if="isidshow == laitem.tagid">
                                <div class="knowledgebiaoqianxiugaibody_bj">
                                </div>
                                <div class="knowledgebiaoqianxiugai">
                                    <input type="" name="" ng-model="uplabname" set-focus ng-keypress="saveTagNameEnter($event,laitem,uplabname)" /><div
                                        ng-click="saveTagName(laitem,uplabname)">
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-icon_right"></use></svg>
                                    </div>
                                    <div ng-click="closetxtupname()">
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-wrong"></use></svg>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li ng-click="selectlaball()">
                            <div class="biaoqianyuan">
                            </div>
                            <div class="biaoqianname">
                                {{'AllLabels'|T}}</div>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="knowledgeleftbottom">
                <div class="panel">
                    <div class="panel-title">
                        <i class="iconfont"></i>{{'SpaceUse'|T}}</div>
                    <div class="panel-body">
                        <div class="progress">
                            <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0"
                                aria-valuemax="100" style="width: 0%;">
                                <span class="sr-only">{{'Unlimited'|T}}</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="knowledgeright">
            <div class="panel">
                <div class="panel-title knowledgeright-header">
                    <div class="knowledgewenjianall">
                        <div class="knowledge_title_backshangji">
                            <!--  <div class="knowledge_title_backjiange">|</div> -->
                        </div>
                        <!-- <div ng-click="selectAllkn()">
                                    全部文件</div> -->
                        <div class="knowledgeright-header-left" ng-click="selectAllkn()">{{'Repository'|T}}</div>
                        <div ng-if="showinfo.sharequer || showinfo.mysharequer || showinfo.seltxt || showinfo.selweb || showinfo.selquer || showinfo.orgselquer" class="knowledge_title_backjiange">
                            >
                        </div>

                        <div ng-if="showinfo.orgselquer" ng-click="orgsharedfolder()">{{'ExternalSharedFiles'|T}}</div>
                        <div ng-if="showinfo.sharequer" ng-click="sharedfolder(0)">{{'EnterpriseSharedFiles'|T}}</div>
                        <div ng-if="showinfo.mysharequer" ng-click="myShare()">{{'MyShare'|T}}</div>
                        <div ng-if="showinfo.seltxt" ng-click="selectTxt()">{{'Notepad'|T}}</div>
                        <div ng-if="showinfo.selweb" ng-click="selectWeb()">{{'WebCollection'|T}}</div>
                        <div ng-if="showinfo.selquer" ng-click="selectQuestion()">{{'QA'|T}}</div>
                        <div ng-repeat="ckbinfo in crumbsknlist" ng-if="crumbsknlist.length <= 3" class="knowledge_title_backjiange_sanji ">
                            <div class="knowledge_title_backjiange">
                                ></div>
                            <div ng-click="dbselkb(ckbinfo)">
                                {{ckbinfo.fileName}}
                            </div>
                        </div>
                        <div ng-if="crumbsknlist.length > 3" class="knowledge_title_backjiange_sanji">
                            <div>
                                ...</div>
                            <div class="knowledge_title_backjiange">
                                ></div>
                            <div ng-click="dbselkb(crumbsknlist[crumbsknlist.length-2])">
                                {{crumbsknlist[crumbsknlist.length-2].fileName}}
                            </div>
                            <div class="knowledge_title_backjiange">
                                ></div>
                            <div ng-click="dbselkb(crumbsknlist[crumbsknlist.length-1])">
                                {{crumbsknlist[crumbsknlist.length-1].fileName}}
                            </div>
                        </div>
                        <div class="knowledge_title_backjiange" ng-if="sosoText">
                            <div class="knowledge_title_backjiange">
                                ></div>
                            <div>
                                搜索:"{{sosoText}}"</div>
                        </div>
                    </div>
                    <ul class="knowledgeright-header-right">
                        <li>
                            <drop-down jisu-model="pretype"></drop-down>
                        </li>
                        <!--
                        <li ng-show="showinfo.mtype==1" ng-click="mtype()"><i class="iconfont">&#xe66c;</i>列表模式
                            <ul class="knowledgeright-header-right_qhgkms dropdown-menu" style="display: none">
                                <li><i class="iconfont">&#xe650;</i>预览模式</li>
                                <li><i class="iconfont">&#xe66c;</i>列表模式</li>
                                <li><i class="iconfont">&#xe650;</i>图标模式</li>
                            </ul>
                        </li>
                        <li ng-show="showinfo.mtype==0" ng-click="mtype()"><i class="iconfont">&#xe650;</i>图标模式</li>
-->
                        <!--排序列表和图标只显示一个-->
                        <li ng-click="updoptype(1,1)">
                            <drop-down jisu-model="sysknow"></drop-down>
                        </li>
                        <li ng-click="isupflagfun()" ng-if="!showinfo.sharequer && false">
                            <drop-down-up-file previewitem="previewobj" up-obj="isupobj"></drop-down-up-file>
                        </li>
                        <li ng-show="!showinfo.sososhow  && !showinfo.orgselquer && !showinfo.sharequer" ng-click="soushuo()"><i class="iconfont">&#xe621;</i>{{'Search'|T}}</li>
                        <li class="knowledge_sousuo" ng-if="showinfo.sososhow  && !showinfo.orgselquer && !showinfo.sharequer">
                            <input type="text" set-focus placeholder="请输入文件/文件夹名称" ng-model="params.searchText"
                                ng-keyup="upnamekeyup2($event)" /><i class="iconfont" ng-click="filterkn()">&#xe621;</i>
                        </li>
                        <!--点击上边的搜索，显示下边的-->
                    </ul>
                    <!--
                    <ul class="knowledgeright-header-right_paixu dropdown-menu" style="display: none">                        
                        <li>上传时间排序</li>
                        <li>操作时间排序</li>
                        <li>名称首字母排序</li>
                        <li>默认排序</li>
                    </ul>
                    <div class="knowledgeright-header-right-paixu"></div>-->
                </div>
                <!-- bug begin------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
                <div class="panel-body knowledgeliebiao">
                    <!--test2-->
                    <div class="knowledgeliebiao_top">
                        <div class="knowledgeliebiao_top_quanxuan">
                            <div class="liebiaocheck-box" ng-click="selectAll()" ng-class="{selected:select_all}">
                                <!--添加selected为选中样式-->
                                <span class="iconfont">&#xe67a;</span>
                            </div>
                            <div ng-bind="'CheckAll'|T">
                                全选</div>
                        </div>
                    </div>
                    <div class="knowledgeliebiao_mian" ng-if="!showinfo.upshow">
                         <!-- 文件列表 - head -->    
                        <div class="knowledgecaozuohang" ng-show="kbids.length>0">
                            <div ng-click="fileshare()" ng-show="params.powerLV==1">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-fenxiang"></use></svg>
                                {{'EnterpriseSharedFiles'|T}}</div>
                            <div ng-if="false">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-gengxin1"></use></svg>
                                {{'Upload'|T}}</div>
                            <div ng-if="!showinfo.sharequer && upLoadingShow" ng-click="movefile()">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-yidongwenjian"></use></svg>
                                {{'MoveTo'|T}}</div>
                            <div ng-if="!showinfo.sharequer && upLoadingShow" ng-click="copyfile()">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-fuzhi2"></use></svg>
                                {{'CopyTo'|T}}</div>
                            <div ng-click="delkn()" ng-if="delfileshow">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shanchu"></use></svg>
                                {{'Delete'|T}}</div>
                            <div ng-click="fileattr()" ng-if="updatefilenameshow && upLoadingShow">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shuxing"></use></svg>
                                {{'ViewProperties'|T}}</div>
                            <div ng-click="updatefilename()" ng-if="updatefilenameshow && upLoadingShow">
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-zhongmingming"></use></svg>
                                {{'Rename'|T}}</div>                           
                            <div ng-click="zhuanhuan()" ng-if="zhuanma && upLoadingShow" >
                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shuaxin1"></use></svg>
                                {{'DocumentTranscoding'|T}}</div>
                        </div>
                        <!-- 文件列表 - end-->   
                        <!--操作行  列表模式、图标模式-->
                        <ul ng-class="{true: 'knowledge_liebiao', false: 'knowledge_tubiao'}[isActive]" ng-if="oldtype" resize>
                            <!--knowledge_liebiao,  knowledge_tubiao   知识库的两种样式切换-->
                            <li ng-show="isActive" class="knowledge_liebiao_title">
                                <!--添加selected为选择样式-->
                                <div class="knowledgeliebiaocheckbox">
                                    <!--  <div class="liebiaocheck-box" ng-click="selectAll()" ng-class="{selected:select_all}">
                                        添加selected为选中样式
                                        <span class="iconfont">&#xe67a;</span>
                                    </div>
                                    <div> 全选</div> -->
                                </div>
                                <div class="knowledgeliebiaofengmian">
                                </div>
                                <div class="knowledgeliebiaoname" ng-bind="'FileName'|T">
                                    文件名
                                </div>
                                <div class="knowledgeliebiaocjrname" ng-bind="'Founder'|T">
                                    创建人</div>
                                <div class="knowledgeliebiaowjdx" ng-bind="'Size'|T">
                                    大小</div>
                                <div class="knowledgeliebiaotime" ng-bind="'UploadTime'|T">
                                    上传时间</div>
                            </li>                              
                            <li ng-click="sharedfolder(0)" ng-if="(params.powerLV==3||params.powerLV==99)&&(dbkbids.length==0 && !showinfo.sharequer && showinfo.chileshow)">                              
                                <div class="knowledgeliebiaocheckbox">
                                    <div class="liebiaocheck-box " ng-click="selcheck(kbinfo)" ng-if="false">
                                        <!--添加selected为选中样式-->
                                        <span class="iconfont">&#xe67a;</span>
                                    </div>
                                </div>
                                <div class="knowledgeliebiaofengmian">
                                    <img src="/images/train/fenxiang_folder_56.png" class="knowledgeliebiaofengmian_img" /></div>
                                <div class="knowledgeliebiaoname">
                                    <div class="knowledgeliebiaonamebody">
                                        <div class="knowledgeliebiaonamemain">
                                            <div class="knowledgeliebiaobiaoqianmian">
                                                <!--如果没有标签给knowledgeliebiaonamemain_text附一个style=“padding-left:0”-->
                                                <!--  <div class="knowledgebiaoqianyuan" ></div> -->
                                                <!--标签图标，目前设计最多显示3个-->
                                                <div class="knowledgebiaoqianyuan">
                                                </div>
                                                <div class="knowledgeliebiaonamemain_text" ng-bind="'SharedFiles'|T">
                                                    企业共享文件夹</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="knowledgeliebiaocjrname">
                                    管理员</div>
                                <div class="knowledgeliebiaowjdx">
                                    _</div>
                                <div class="knowledgeliebiaotime">
                                    2017-03-13 09:56</div>
                                <div class="knowledgeliebiaoxgcz">
                                </div>
                            </li>
                            <li ng-click="orgsharedfolder()" ng-if="params.powerLV==2 && !showinfo.orgselquer">
                                <div class="knowledgeliebiaocheckbox">
                                    <div class="liebiaocheck-box " ng-click="selcheck(kbinfo)" ng-if="false">
                                        <!--添加selected为选中样式-->
                                        <span class="iconfont">&#xe67a;</span>
                                    </div>
                                </div>
                                <div class="knowledgeliebiaofengmian">
                                    <img src="/images/train/zhidu_56.png" class="knowledgeliebiaofengmian_img" /></div>
                                <div class="knowledgeliebiaoname">
                                    <div class="knowledgeliebiaonamebody">
                                        <div class="knowledgeliebiaonamemain">
                                            <div class="knowledgeliebiaobiaoqianmian">
                                                <!--如果没有标签给knowledgeliebiaonamemain_text附一个style=“padding-left:0”-->
                                                <!--  <div class="knowledgebiaoqianyuan" ></div> -->
                                                <!--标签图标，目前设计最多显示3个-->
                                                <div class="knowledgebiaoqianyuan">
                                                </div>
                                                <div class="knowledgeliebiaonamemain_text" ng-bind="'EnterpriseSharedFiles'|T">
                                                    企业共享文件夹</div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="knowledgeliebiaocjrname">
                                    管理员</div>
                                <div class="knowledgeliebiaowjdx">
                                    _</div>
                                <div class="knowledgeliebiaotime">
                                    2017-03-13 09:56</div>
                                <div class="knowledgeliebiaoxgcz">
                                </div>
                            </li>
                            <loading isloading="isloading"></loading>
                             <!--遍历知识库列表 -->
                            <li ng-repeat="kbinfo in kblist" ng-cloak ng-class="{selected:kbinfo.sel}">
                                <!--<div class="knowledgeliebiaofengmian">
                                    <img src="/images/train/zhishikuimg.png" /></div>-->
                                <div class="knowledgeliebiaocheckbox">
                                    <div class="liebiaocheck-box " ng-click="selcheck(kbinfo)">
                                        <!--添加selected为选中样式-->
                                        <span class="iconfont">&#xe67a;</span>
                                    </div>
                                </div>
                                <div class="knowledgeliebiaofengmian" ng-click="dbselkb(kbinfo)">
                                    <!--文件夹对应的图标-->
                                    <!--共享文件夹图标-->
                                    <img ng-if="kbinfo.fileType == 'folder' && kbinfo.Shares==0" ng-src="/images/fileicon/fenxiang_{{kbinfo.fileType}}_56.png"
                                        src="/images/fileicon/fenxiang_folder_56.png" onerror="javascript:this.src='/images/fileicon/fenxiang_folder_56.png';this.onerror = null"
                                        class="knowledgeliebiaofengmian_img" />
                                    <!--非共享文件夹图标-->
                                    <img ng-if="kbinfo.fileType == 'folder' && kbinfo.Shares!=0" ng-src="/images/fileicon/{{kbinfo.fileType}}_56.png"
                                        src="/images/fileicon/folder_56.png" onerror="javascript:this.src='/images/fileicon/folder_56.png';this.onerror = null"
                                        class="knowledgeliebiaofengmian_img" />
                                    <!--没有封面的图标-->
                                    <img ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType != 'urls' && (kbinfo.filecover == null || kbinfo.filecover.length==0) && kbinfo.status == 0"
                                        ng-src="/images/fileicon/{{kbinfo.fileType}}_56.png" src="/images/fileicon/qita_56.png"
                                        onerror="javascript:this.src='/images/fileicon/qita_56.png';this.onerror = null" class="knowledgeliebiaofengmian_img" />
                                    <!--转码中-->
                                    <img ng-if="kbinfo.status == 4"
                                        ng-src="/images/fileicon/{{kbinfo.fileType}}_56.png" src="/images/fileicon/qita_56.png"
                                        onerror="javascript:this.src='/images/fileicon/qita_56.png';this.onerror = null" class="knowledgeliebiaofengmian_img" />                                        
                                    <!--上传中的图标-->
                                    <img ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType != 'urls' && kbinfo.status == 2 " src="/images/fileicon/uping_56.gif"                class="knowledgeliebiaofengmian_img" />
                                    <!--有封面的图标-->
                                    <img ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType != 'urls' && kbinfo.filecover != null && kbinfo.filecover.length >0  && kbinfo.status == 0 "
                                        ng-src="{{isImg(kbinfo.filecover)?kbinfo.filecover:'/images/fileicon/'+kbinfo.fileType+'_56.png'}}" src="/images/fileicon/qita_56.png" onerror="javascript:this.src='/images/fileicon/qita_56.png';this.onerror = null"
                                        class="knowledgeliebiaofengmian_img" />
                                    
                                    <!--网址图标-->
                                    <img ng-if="kbinfo.fileType == 'urls'" src="/images/fileicon/urls_56.png" onerror="javascript:this.src='/images/fileicon/urls_56.png';this.onerror = null" class="knowledgeliebiaofengmian_img" />
                                    <div class="knowledgeliebiaofengmian_fenxiang" ng-if="kbinfo.fileType != 'folder'&& kbinfo.Shares==0 && (kbinfo.filecover == null || kbinfo.filecover.length==0)">
                                    </div>
                                    <div class="knowledgeliebiaofengmian_fenxiang" ng-if="kbinfo.fileType != 'folder'&& kbinfo.Shares==0 && kbinfo.filecover != null && kbinfo.filecover.length!=0"
                                        style="right: 3px; top: -5px; background-color: #3399ff;">
                                    </div>
                                    <div class="knowledgeliebiaofengmian_quanxian" style="display: none">
                                    </div>
                                    <div class="knowledgeliebiaofengmian_zhuanhuan" style="padding:0px;background: url(/images/train/zhuanhuan.png); top: 45px;right:5px;" ng-if=" kbinfo.status == 4">
                                    </div>
                                    <div class="knowledgeliebiaofengmian_leixing" ng-bind="kbinfo.fileType" ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType != 'urls' && kbinfo.fileType != 'wxt' && kbinfo.fileType != 'ques' && !isActive">
                                        PDF</div>     
                                    <div class="knowledgeliebiaofengmian_leixing" ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType == 'wxt'">
                                        记事本</div>                               
                                    <div style="position: absolute;right: 33px;top: 51px;width: 16px;height: 16px;"  ng-if="kbinfo.status==1">
                                        <img src="/images/train/tranfail.png" alt="文件转换失败"  />                                        
                                    </div>                                   
                                </div>
                                <div class="knowledgeliebiaoname" ng-click="dbselkb(kbinfo)">
                                    <div class="knowledgeliebiaonamebody">
                                        <!--标签图标，目前设计最多显示3个-->
                                        <div class="knowledgeliebiaonamemain">
                                            <div class="knowledgeliebiaobiaoqianmian">
                                                <!--如果没有标签给knowledgeliebiaonamemain_text附一个style=“padding-left:0”-->
                                                <div class="knowledgebiaoqianyuan">
                                                    <svg class="icon" aria-hidden="true" ng-repeat="taginfo in getFileTagList(kbinfo.tagids)">
                                                        <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{{taginfo.tagcolor}}"></use>
                                                    </svg>
                                                </div>
                                                <div ng-class="getFileTagClass(kbinfo.tagids)">
                                                    {{kbinfo.fileName}}</div>
                                            </div>
                                        </div>
                                        <!--<div class="progress knowledge_shangchuanjindu_liebieo">
                                            <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 40%;">                             
                                            </div>
                                        </div>-->
                                    </div>
                                </div>
                                <div class="knowledgeliebiaocjrname" title="kbinfo.upUserName">
                                    {{kbinfo.upUserName}}</div>
                                <div ng-if="kbinfo.fileType != 'folder' && kbinfo.fileType != 'ques' && kbinfo.fileType != 'urls' && kbinfo.fileType != 'wxt'"
                                    class="knowledgeliebiaowjdx" ng-if="kbinfo.fileType !='folder'" ng-bind="kbinfo.fileSize | to_size">
                                </div>
                                <div ng-if="kbinfo.fileType == 'folder' || kbinfo.fileType == 'ques' || kbinfo.fileType == 'urls' || kbinfo.fileType == 'wxt'"
                                    class="knowledgeliebiaowjdx" ng-if="kbinfo.fileType !='folder'">
                                    _</div>
                                <div class="knowledgeliebiaotime">
                                    {{kbinfo.uploadTime}}</div>
                                <div class="knowledgeliebiaoxgcz">
                                    <div ng-if="kbinfo.fileType != 'folder' && false" ng-click="play(kbinfo)">
                                        <svg class="icon" aria-hidden="true" mous-title ddobj="abc.filedown" showmsg="showMsg(1)"
                                            hidemsg="hideMsg(1)"><use xlink:href="#icon-xiazai"></use></svg>
                                        <div class="tooltip fade top in" ng-show="abc.filedown" role="tooltip" style="top: -37px;
                                            left: -12px; display: block; width: 40px;">
                                            <div class="tooltip-arrow" style="left: 50%">
                                            </div>
                                            <div class="tooltip-inner" style="text-align: left" ng-bind="'Download'|T">
                                                下载
                                            </div>
                                        </div>
                                    </div>
                                    <!--下载-->
                                    <div ng-click="movefile(kbinfo)">
                                        <svg class="icon" aria-hidden="true" mous-title ddobj="abc.filemove" showmsg="showMsg(2)"
                                            hidemsg="hideMsg(2)"><use xlink:href="#icon-yidongwenjian"></use></svg>
                                        <div class="tooltip fade top in" ng-show="abc.filemove" role="tooltip" style="top: -37px;
                                            left: -18px; display: block; width: 52px;">
                                            <div class="tooltip-arrow" style="left: 50%">
                                            </div>
                                            <div class="tooltip-inner" style="text-align: left" ng-bind="'MoveTo'|T">
                                                移动到</div>
                                        </div>
                                    </div>
                                    <!--移动到-->
                                    <div ng-click="copyfile(kbinfo)">
                                        <svg class="icon" aria-hidden="true" mous-title ddobj="abc.filecopy" showmsg="showMsg(3)"
                                            hidemsg="hideMsg(3)"><use xlink:href="#icon-fuzhi2"></use></svg>
                                        <div class="tooltip fade top in" ng-show="abc.filecopy" role="tooltip" style="top: -37px;
                                            left: -17px; display: block; width: 52px;">
                                            <div class="tooltip-arrow" style="left: 50%">
                                            </div>
                                            <div class="tooltip-inner" style="text-align: left" ng-bind="'CopyTo'|T">
                                                复制到</div>
                                        </div>
                                    </div>
                                    <!--复制到-->
                                    <div ng-click="delkn(kbinfo)">
                                        <svg class="icon" aria-hidden="true" mous-title ddobj="abc.filedel" showmsg="showMsg(4)"
                                            hidemsg="hideMsg(4)"><use xlink:href="#icon-shanchu"></use></svg>
                                        <div class="tooltip fade top in" ng-show="abc.filedel" role="tooltip" style="top: -37px;
                                            left: -12px; display: block; width: 40px;">
                                            <div class="tooltip-arrow" style="left: 50%">
                                            </div>
                                            <div class="tooltip-inner" style="text-align: left" ng-bind="'Delete'|T">
                                                删除</div>
                                        </div>
                                    </div>
                                    <!--删除-->
                                    <!--kbinfo.fileType != 'folder'-->
                                    <div ng-click="showfilediv(kbinfo)" ng-if="false">
                                        <svg class="icon" aria-hidden="true" mous-title ddobj="abc.filemore" showmsg="showMsg(5)"
                                            hidemsg="hideMsg(5)"><use xlink:href="#icon-ttpodicon1"></use></svg>
                                        <div class="tooltip fade top in" ng-show="abc.filemore" role="tooltip" style="top: -37px;
                                            left: -12px; display: block; width: 40px;">
                                            <div class="tooltip-arrow" style="left: 50%">
                                            </div>
                                            <div class="tooltip-inner" style="text-align: left" ng-bind="'More'|T">
                                                更多
                                            </div>
                                        </div>
                                        <!--knowledgeliebiaoxgcz_gengduo_menu_last_child-->
                                        <ul class="dropdown-menu knowledgeliebiaoxgcz_gengduo_menu" ng-show="abc.filediv">
                                            <!--
                                                <li><svg class="icon" aria-hidden="true"><use xlink:href="#icon-yidongwenjian"></use></svg>移动文件</li>
                                                <li><svg class="icon" aria-hidden="true"><use xlink:href="#icon-fuzhi2"></use></svg>复制文件</li>
                                                <li><svg class="icon" aria-hidden="true"><use xlink:href="#icon-shijianaini"></use></svg>历史版本</li>
                                            -->
                                            <li>
                                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-gengxin1"></use></svg>
                                                {{'UpdatedVersion'|T}}</li>
                                        </ul>
                                    </div>
                                    <!--更多-->
                                </div>
                            </li>                                                       
                            <!-- 文件遍历结束 --->
                        </ul>
                        <!--操作行  预览模式-->
                        <ul class="knowledge_yulanmosji" ng-if="!oldtype">
                            <li ng-repeat="kbinfo in kblist" ng-cloak ng-class="{selected:kbinfo.sel}">
                                <div class="knowledgeliebiaofengmian_fenxiang" ng-if="kbinfo.Shares==0" style="background-color: #3399ff;
                                    border-radius: 10px; overflow: hidden;">
                                </div>
                                <div ng-class="previewclass(kbinfo) ">
                                    <div class="knowledgeliebiao_yulanmslist">
                                        <div class="knowledgeliebiaocheckbox">
                                            <div class="liebiaocheck-box" ng-click="selcheck(kbinfo)">
                                                <!--添加selected为选中样式-->
                                                <span class="iconfont">&#xe67a;</span>
                                            </div>
                                        </div>
                                        <div class="knowledgeliebiaofengmian" ng-click="dbselkb(kbinfo)">
                                            <img src="/images/train/folder_56.png" class="knowledgeliebiaofengmian_img" ng-if="kbinfo.fileType == 'folder'" />
                                            <img src="/images/fileicon/urls_56.png" onerror="javascript:this.src='/images/fileicon/urls_56.png';this.onerror = null"
                                                class="knowledgeliebiaofengmian_img" ng-if="kbinfo.fileType == 'urls'" />
                                            <img ng-src="{{kbinfo.filecover}}" class="knowledgeliebiaofengmian_img" ng-if="kbinfo.filecover != null || kbinfo.filecover.length!=0" />
                                            <!--  ng-src="{{kbinfo.filecover| to_repurl}}" ng-if="kbinfo.fileType == 'urls'||(kbinfo.filecover != null && kbinfo.filecover.length >0)"
                                     <div class="knowledgeliebiaofengmian_fenxiang" ng-if="kbinfo.fileType != 'folder' && kbinfo.Shares==0">
                                    </div>-->
                                        </div>
                                        <div class="knowledgeliebiaoname" ng-click="dbselkb(kbinfo)">
                                            <div class="knowledgeliebiaonamebody">
                                                <div class="knowledgeliebiaonamemain">
                                                    <div class="knowledgeliebiaobiaoqianmian">
                                                        <!--如果没有标签给knowledgeliebiaonamemain_text附一个style=“padding-left:0”-->
                                                        <!--  <div class="knowledgebiaoqianyuan" ></div> -->
                                                        <!--标签图标，目前设计最多显示3个-->
                                                        <div class="knowledgebiaoqianyuan">
                                                            <svg class="icon" aria-hidden="true" ng-repeat="taginfo in getFileTagList(kbinfo.tagids)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{{taginfo.tagcolor}}"></use></svg>
                                                        </div>
                                                        <div ng-class="getFileTagClass(kbinfo.tagids)" ng-class="{biaoqianthird:getFileTagList(kbinfo.tagids).length>0}">
                                                            {{kbinfo.fileName}}</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="knowledgeliebiao_textmain" ng-click="dbselkb(kbinfo)" ng-if="kbinfo.fileType != 'folder' && kbinfo.filecover != null && kbinfo.filecover.length >0 ">
                                            <img ng-src="{{kbinfo.filecover| to_repurl}}" src="/images/fileicon/qita_56.png"
                                                onerror="javascript:this.src='/images/fileicon/qita_56.png';this.onerror = null" class="knowledgeliebiaofengmian_img" />
                                        </div>
                                        <div class="knowledgeliebiao_textmain" ng-click="dbselkb(kbinfo)" ng-if="kbinfo.fileType == 'wxt'">
                                            <img ng-src="{{kbinfo.filecover| to_repurl}}" src="/images/fileicon/wxt_56.png" onerror="javascript:this.src='/images/fileicon/wxt_56.png';this.onerror = null"
                                                class="knowledgeliebiaofengmian_img" />
                                        </div>
                                        <div class="knowledgeliebiao_textmain" ng-click="dbselkb(kbinfo)" ng-if="kbinfo.fileType != 'ques' && kbinfo.fileType != 'wxt' && kbinfo.fileType != 'folder' && (kbinfo.filecover == null || kbinfo.filecover.length==0) ">
                                            <img ng-src="{{kbinfo.filecover| to_repurl}}" src="/images/fileicon/qita_56.png"
                                                onerror="javascript:this.src='/images/fileicon/qita_56.png';this.onerror = null" class="knowledgeliebiaofengmian_img" />
                                        </div>
                                        <div class="knowledgeliebiao_textmain" ng-click="dbselkb(kbinfo)" ng-if="kbinfo.fileType == 'urls'  ">
                                            <img src="/images/fileicon/urls_56.png" onerror="javascript:this.src='/images/fileicon/urls_56.png';this.onerror = null"
                                                class="knowledgeliebiaofengmian_img" />
                                        </div>
                                        <div class="knowledgeliebiao_textmain" ng-if="kbinfo.fileType == 'ques' ">
                                            <span ng-bind-html="getfiletext(kbinfo.fileTxt) |  to_html"></span>
                                        </div>
                                        <div class="knowledgeliebiao_caozuo" ng-if="kbinfo.fileType == 'folder'">
                                            <div class="knowledgeliebiao_caozuowjlx">
                                                <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shijianaini"></use></svg>
                                                {{'Notepad'|T}}</div>
                                            <div class="knowledgeliebiao_caozuoxiang">
                                                <div>
                                                    <svg class="icon" aria-hidden="true" ng-click="updatefilename(kbinfo)" mous-title
                                                        ddobj="kbinfo.filerename" showmsg="showfile(kbinfo,7)" hidemsg="hidefile(kbinfo,7)"><use xlink:href="#icon-zhongmingming"  ></use></svg>
                                                    <div class="tooltip fade top in" role="tooltip" style="top: -23px; display: block;
                                                        width: 54px; left: -3px;" ng-show="kbinfo.filerename">
                                                        <div class="tooltip-arrow" style="left: 40%">
                                                        </div>
                                                        <div class="tooltip-inner" style="text-align: left">
                                                            {{'Rename'|T}}
                                                        </div>
                                                    </div>
                                                </div>
                                                <div>
                                                    <svg class="icon" aria-hidden="true" ng-click="movefile(kbinfo)" mous-title ddobj="kbinfo.filemove"
                                                        showmsg="showfile(kbinfo,2)" hidemsg="hidefile(kbinfo,2)"><use xlink:href="#icon-yidongwenjian"></use></svg>
                                                    <div class="tooltip fade top in" role="tooltip" style="top: -23px; display: block;
                                                        width: 42px; left: -3px;" ng-show="kbinfo.filemove">
                                                        <div class="tooltip-arrow" style="left: 50%">
                                                        </div>
                                                        <div class="tooltip-inner" style="text-align: left" ng-bind="'Move'|T">
                                                            移动
                                                        </div>
                                                    </div>
                                                </div>
                                                <div>
                                                    <svg class="icon" aria-hidden="true" ng-click="copyfile(kbinfo)" mous-title ddobj="kbinfo.filecopy"
                                                        showmsg="showfile(kbinfo,3)" hidemsg="hidefile(kbinfo,3)"><use xlink:href="#icon-fuzhi2"></use></svg>
                                                    <div class="tooltip fade top in" role="tooltip" style="top: -23px; display: block;
                                                        width: 42px; left: -3px;" ng-show="kbinfo.filecopy">
                                                        <div class="tooltip-arrow" style="left: 50%">
                                                        </div>
                                                        <div class="tooltip-inner" style="text-align: left" ng-bind="'Copy'|T">
                                                            复制
                                                        </div>
                                                    </div>
                                                </div>
                                                <div>
                                                    <svg class="icon" aria-hidden="true" ng-click="fileattr(kbinfo)" mous-title ddobj="kbinfo.fileattr"
                                                        showmsg="showfile(kbinfo,6)" hidemsg="hidefile(kbinfo,6)"><use xlink:href="#icon-shuxing"></use></svg>
                                                    <div class="tooltip fade top in" role="tooltip" style="top: -23px; display: block;
                                                        width: 42px; left: -3px;" ng-show="kbinfo.fileattr">
                                                        <div class="tooltip-arrow" style="left: 50%">
                                                        </div>
                                                        <div class="tooltip-inner" style="text-align: left" ng-bind="'Properties'|T">
                                                            属性
                                                        </div>
                                                    </div>
                                                </div>
                                                <div>
                                                    <svg class="icon" aria-hidden="true" ng-click="delkn(kbinfo)" mous-title ddobj="kbinfo.filedelete"
                                                        showmsg="showfile(kbinfo,4)" hidemsg="hidefile(kbinfo,4)"><use xlink:href="#icon-shanchu"></use></svg>
                                                    <div class="tooltip fade top in" role="tooltip" style="top: -23px; display: block;
                                                        width: 42px; left: -3px;" ng-show="kbinfo.filedelete">
                                                        <div class="tooltip-arrow" style="left: 50%">
                                                        </div>
                                                        <div class="tooltip-inner" style="text-align: left" ng-bind="'Delete'|T">
                                                            删除
                                                        </div>
                                                    </div>
                                                </div>
                                                <!--
                                    <svg class="icon" aria-hidden="true" style="display: none"><use xlink:href="#icon-ttpodicon1"></use></svg>
                                    <svg class="icon" aria-hidden="true" style="display: none" ><use xlink:href="#icon-gengxin1"></use></svg>

                                    <ul class="dropdown-menu" style="display: none">
                                        <li><svg class="icon" aria-hidden="true"><use xlink:href="#icon-yidongwenjian"></use></svg>移动文件</li>
                                        <li><svg class="icon" aria-hidden="true"><use xlink:href="#icon-yidongwenjian"></use></svg>复制文件</li>
                                    </ul>
                                    -->
                                            </div>
                                        </div>
                                        <div class="knowledgeliebiao_caozuo" ng-if="kbinfo.fileType != 'folder'">
                                            <div class="knowledgeliebiao_caozuowjlx">
                                                <img ng-src="/images/fileicon/{{kbinfo.fileType}}_56.png" onerror="javascript:this.src='/images/fileicon/qita_56.png';this.onerror = null"
                                                    class="">{{kbinfo.fileType}}</div>
                                            <div class="knowledgeliebiao_caozuoxiang">
                                                <div ng-if="false">
                                                    <svg class="icon" aria-hidden="true" ng-click="play(kbinfo)" mous-title ddobj="kbinfo.filedown"
                                                        showmsg="showfile(kbinfo,1)" hidemsg="hidefile(kbinfo,1)"><use xlink:href="#icon-xiazai"></use></svg>
                                                    <div class="tooltip fade top in" role="tooltip" style="top: -23px; display: block;
                                                        width: 42px; left: -3px;" ng-show="kbinfo.filedown">
                                                        <div class="tooltip-arrow" style="left: 50%">
                                                        </div>
                                                        <div class="tooltip-inner" style="text-align: left" ng-bind="'Download'|T">
                                                            下载
                                                        </div>
                                                    </div>
                                                </div>
                                                <div>
                                                    <svg class="icon" aria-hidden="true" ng-click="fileattr(kbinfo)" mous-title ddobj="kbinfo.fileattr"
                                                        showmsg="showfile(kbinfo,6)" hidemsg="hidefile(kbinfo,6)"><use xlink:href="#icon-shuxing"></use></svg>
                                                    <div class="tooltip fade top in" role="tooltip" style="top: -23px; display: block;
                                                        width: 42px; left: -3px;" ng-show="kbinfo.fileattr">
                                                        <div class="tooltip-arrow" style="left: 50%">
                                                        </div>
                                                        <div class="tooltip-inner" style="text-align: left" ng-bind="'Properties'|T">
                                                            属性
                                                        </div>
                                                    </div>
                                                </div>
                                                <div>
                                                    <svg class="icon" aria-hidden="true" ng-click="filemore(kbinfo)" mous-title ddobj="kbinfo.filemore"
                                                        showmsg="showfile(kbinfo,5)" hidemsg="hidefile(kbinfo,5)"><use xlink:href="#icon-ttpodicon1"></use></svg>
                                                    <div class="tooltip fade top in" role="tooltip" style="top: -23px; display: block;
                                                        width: 42px; left: -3px;" ng-show="kbinfo.filemore">
                                                        <div class="tooltip-arrow" style="left: 50%">
                                                        </div>
                                                        <div class="tooltip-inner" style="text-align: left" ng-bind="'More'|T">
                                                            更多
                                                        </div>
                                                    </div>
                                                </div>
                                                <ul class="dropdown-menu" ng-show="kbinfo.filemore2">
                                                    <li ng-click="updatefilename(kbinfo)">
                                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-zhongmingming"></use></svg>
                                                        {{'Rename'|T}}</li>
                                                    <li ng-click="movefile(kbinfo)">
                                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-yidongwenjian"></use></svg>
                                                          {{'MoveFile'|T}}</li>
                                                    <li ng-click="copyfile(kbinfo)">
                                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-fuzhi2"></use></svg>
                                                        {{'CopyFile'|T}}</li>
                                                    <li ng-click="delkn(kbinfo)">
                                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shanchu"></use></svg>
                                                        {{'Delete'|T}}</li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </li>
                        </ul>
                        <div style="text-align: center; width: 100%; position:absolute;background: #fff;margin: 85px auto;" ng-show="(kblist.length==0 && dbkbids.length!=0) || (sosoText && kblist.length==0 ) || (kblist.length==0 && showinfo.mysharequer) || (kblist.length==0 && showinfo.sharequer)||(kblist.length==0 && comFun)">
                            <img src="/images/knownull.png" /><br />
                            {{'ThereIsNotFile'|T}}
                        </div>
                    </div>
                    <!--<tm-pagination conf="paginationConf"></tm-pagination>-->
                    <!--test1-->
                    <div class="knowledgeliebiao_miankongbai" id="hidecengnew" nv-file-over uploader="uploader"
                        ng-class="{'nv-file-over':kbids.length<=0  && !upcengflag  }" ng-if="false &&!(showinfo.sharequer || showinfo.mysharequer || showinfo.seltxt|| showinfo.selweb || showinfo.selquer)" style="min-height:603px;">
                        <div id="hideceng" class="knowledgeliebiao_miankongbai_tuoxhuaibody" uploader="uploader"
                            ng-class="{'nv-file-over':kbids.length<=0 && !upcengflag}" ng-click="uploadP()">
                            <div class="knowledgeliebiao_miankongbai_bj">
                            </div>
                            <div class="knowledgeliebiao_miankongbaitop">
                                <div class="knowledgeliebiao_miankongbaitop_tuoxhuai">
                                    <span>将文件拖动到空白区域开始上传</span></div>
                            </div>
                            <div class="close" ng-click="upcenghide();$event.stopPropagation();">
                                <span>+</span>
                            </div>
                        </div>
                        <div class="knowledgeliebiao_miankongbaifooter">
                            <div>
                                <span class="knowledgeliebiao_miankongbaifootertxt" ng-bind="'UploadFileFormat'|T">上传文件格式</span><img src="/images/train/wenjiangeshi.png" />
                            </div>
                        </div>
                    </div>
                </div>
                <!-- bug end------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------>
            </div>
        </div>
        <selectfilemodal jisu-model="ParentData" on-say="selectsay()"></selectfilemodal>
    </div>
    <!--重命名弹框样式-->
    <div class="knowledgebase_select_move_body" ng-if="showupname">
        <div class="knowledgebase_select_move_bj">
        </div>
        <div class="knowledgexjwjcmm" ng-style="divselweb">
            <div class="knowledgexjwjcmmbody">
                <div class="knowledgexjwjcmmtitle">
                    <div ng-bind="upsharedtitle">
                    </div>
                    <div class="knowledgexjwjcmmtitleright" ng-if="isbtnload">
                        <btnloading isbtnload="isbtnload"></btnloading>
                    </div>
                    <div class="knowledgexjwjcmmtitleright" ng-click="saveupname()" ng-if="!isbtnload">
                        <svg class="icon" aria-hidden="true">
  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>
                        {{'Save'|T}}</div>
                    <div class="close" ng-click="closeupname()">
                        <span>+</span></div>
                </div>
                <ul class="knowledgexjwjcmmmain">
                    <li>
                        <input type="" name="" set-focus placeholder="请输入文件夹名称" class="form-control" ng-model="kbinfo.fileName"
                            ng-keyup="upnamekeyup($event)"></li>
                    <li ng-bind="'ClickEnter'|T">点击保存或回车(Enter)快捷新建文件夹，点击叉号取消新建。文件名不能为空。</li>
                </ul>
            </div>
        </div>
    </div>
    <!--文件预览-->
    <filepre isdata="isfilepreview"></filepre>
    <!--文件属性-->
    <fileattr isdata="isfileattr" on-copyfile="copyfile()" on-movefile="movefile()" on-delkn="delkn()"
        on-filepreview="filepreview()" on-knlist="filelist()"></fileattr>
    <!--文件共享-->
    <fileshare isdata="isfileshare"></fileshare>
    <div class="knowledgelist_page">
        <tm-pagination conf="paginationConf"></tm-pagination>
    </div>
    <div class="knowledgebase_xinjian_body" ng-if="showcollection">
        <div class="knowledgebase_xinjian_bj">
        </div>
        <div class="knowledgewzsc" ng-style="divselweb">
            <div class="knowledgewzscbody">
                <div class="knowledgewzsctitle">
                    {{'URLCollection'|T}}
                    <div class="knowledgexjwjcmmtitleright" ng-if="isbtnload">
                        <btnloading isbtnload="isbtnload"></btnloading>
                    </div>
                    <div class="knowledgewzsctitleright" ng-click="saveweb(saveWebForm.fileurlonly.$valid && saveWebForm.urlName.$valid)"
                        ng-if="!isbtnload">
                        <svg class="icon" aria-hidden="true">
  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>
                        {{'Save'|T}}</div>
                    <div class="close" ng-click="closecollection()">
                        <span>+</span></div>
                </div>
                <ul class="knowledgewzscmain">
                    <form name="saveWebForm">
                    <li>
                        <label>
                            <span ng-bind="'URLLink'|T">网址链接</span></label><input type="" ng-pattern="/^(http|https)\://([a-zA-Z0-9\.\-]+(\:[a-zA-Z0-9\.&amp;%\$\-]+)*@)?((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|([a-zA-Z0-9\-]+\.)*[a-zA-Z0-9\-]+\.[a-zA-Z]{2,4})(\:[0-9]+)?(/[^/][a-zA-Z0-9\.\,\?\'\\/\+&amp;%\$#\=~_\-@]*)*$/"
                                required set-focus placeholder="在此粘贴需要收藏的网址链接" name="fileurlonly" ng-model="kbinfo.fileurlonly"></li>
                    <div class="knowledgewzscmain_error" ng-show="saveWebForm.fileurlonly.$invalid && saveWebForm.fileurlonly.$dirty" ng-bind="'PleaseURL'|T">
                        请输入正确的网址</div>
                    <li>
                        <label>
                            <span ng-bind="'URLName'|T">网址名称</span></label><input type="" placeholder="在此填写需要收藏的网址名称" name="urlName"
                                required ng-model="kbinfo.fileName"></li><div class="knowledgewzscmain_error" ng-show="saveWebForm.urlName.$invalid && saveWebForm.urlName.$dirty" ng-bind="'PleaseName'|T">
                                    请输入网址名称</div>
                    </form>
                </ul>
            </div>
        </div>
    </div>
    <div class="knowledgebase_xinjian_body" ng-if="showquestion">
        <div class="knowledgebase_xinjian_bj">
        </div>
        <div class="knowledgebase_select_move_body">
            <div class="knowledgexjwenda" ng-style="divnotepad">
                <div class="knowledgexjwendabody">
                    <div class="knowledgexjwendatitle">
                        {{'NewProblems'|T}}
                        <div class="knowledgexjwjcmmtitleright" ng-if="isbtnload">
                            <btnloading isbtnload="isbtnload"></btnloading>
                        </div>
                        <div class="knowledgexjwendatitleright" ng-click="saveques(questionfileTxt)" ng-if="!isbtnload">
                            <svg class="icon" aria-hidden="true">
  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>
                            {{'Save'|T}}</div>
                        <div class="close" ng-click="closequestion()">
                            <span>+</span></div>
                    </div>
                    <div ng-model="questionfileTxt" contenteditable="true" configbtn="configbtnwenda"
                        uuid="{{uuidques}}" style="height: 500px; clear: none;">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="knowledgebase_xinjian_body" ng-if="showquestion2" style="">
        <div class="knowledgebase_xinjian_bj">
        </div>
        <div class="knowledgebase_select_move_body">
            <div class="knowledgexjwenda" ng-style="divnotepad">
                <div class="knowledgexjwendabody">
                    <div class="knowledgexjwendatitle">
                        {{'UploadProblems'|T}}
                        <div class="knowledgexjwjcmmtitleright" ng-if="isbtnload">
                            <btnloading isbtnload="isbtnload"></btnloading>
                        </div>
                        <div class="knowledgexjwendatitleright" ng-click="closeuploadquestion()" ng-if="!isbtnload">
                            <svg class="icon" aria-hidden="true">
  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>
                            {{'MakeSure'|T}}</div>
                        <div class="close" ng-click="closequestion2()">
                            <span>+</span></div>
                    </div>
                    <div ng-model="quesinfo.fileTxt.fileTxts" contenteditable="true" uuid="{{quesinfo.upId}}"
                        configbtn="configbtnwenda" style="height: 500px; clear: none;">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="knowledgebase_xinjian_body" ng-if="shownotepad" style="">
        <div class="knowledgebase_xinjian_bj">
        </div>
        <div class="knowledgebase_select_move_body">
            <div class="knowledgexjjsb" ng-style="divnotepad">
                <div class="knowledgexjjsbbody">
                    <div class="knowledgexjjsbtitle">
                        {{'Notepad'|T}}
                        <div class="knowledgexjwjcmmtitleright" ng-if="isbtnload">
                            <btnloading isbtnload="isbtnload"></btnloading>
                        </div>
                        <div class="knowledgexjjsbtitleright" ng-click="savenotepad()" ng-if="!isbtnload">
                            <svg class="icon" aria-hidden="true">
  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>
                            {{'Save'|T}}</div>
                        <div class="close" ng-click="closenotepad()">
                            <span>+</span></div>
                    </div>
                    <div ng-model="kbinfo.fileTxt" contenteditable="true" uuid="{{uuid}}" configbtn="configbtnjishiben"
                        style="height: 500px; clear: none;">
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="knowledgebase_xinjian_body" ng-show="showanswer">
        <div class="knowledgebase_xinjian_bj">
        </div>
        <div class="knowledgewjwthf">
            <div class="knowledgewjwthfbody">
                <div class="knowledgewjwthftitle">
                    {{'ProblemResponse'|T}}
                    <div class="knowledgewjwthftitleright">
                        <div class="knowledgewjwthftitleright_gbwthf" ng-if="quesinfo.upUserId==setLoginUserId">
                            <div class="toggle blue pull-left">
                                <input class="notificationHandler check " ng-class="{checked:quesinfo.fileTxt.close_reply}"
                                    ng-click="checkedclick(quesinfo)" data-type="newpost.email" type="button">
                                <div class="switch">
                                </div>
                                <div class="track">
                                </div>
                            </div>
                            <div ng-bind="'CloseResponse'|T">
                                关闭此问题回复</div>
                        </div>
                        <div class="knowledgewjwthftitleright_bjwt" ng-if="quesinfo.upUserId==setLoginUserId"
                            ng-click="showaddquestion2(quesinfo)">
                            <svg class="icon" aria-hidden="true"> <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-bianji"></use></svg>
                            {{'UploadProblems'|T}}
                        </div>
                        <div ng-if="quesinfo.upUserId==setLoginUserId" class="knowledgewjwthftitleright_bjwt"
                            ng-click="savequesinfo()" ng-show="hasdoclick">
                            <svg class="icon" aria-hidden="true">
  <use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-baocun"></use></svg>
                            {{'Save'|T}}</div>
                    </div>
                    <div class="close" ng-click="closeanswer()">
                        <span>+</span></div>
                </div>
                <div class="knowledgewjwthfmain">
                    <div class="knowledgewjwthfmain_wenti">
                        <div class="knowledgewjwthfmain_wentitop">
                            <div class="knowledgewjwthfmain_header">
                                <div class="knowledgewjwthfmain_header_title">
                                    <svg class="icon" aria-hidden="true"><use xlink:href="#icon-question"></use></svg>
                                    {{'Problems'|T}}：<span ng-bind-html="quesinfo.fileTxt.fileTxts |  to_html"></span></div>
                                <ul class="knowledgewjwthfmain_header_xqjs">
                                    <li>
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shijian3"></use></svg>
                                        {{quesinfo.uploadTime}}</li>
                                    <li>
                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-huida01"></use></svg>
                                        {{quesinfo.fileTxt.answer}}{{'Answer'|T}}</li>
                                    <li class="knowledgewjwthfmain_header_xqjs_name">
                                        <img ng-src="{{quesinfo.fileTxt.userImg}}" src="/images/avatar.png" onerror="javascript:this.src='/images/avatar.png';this.onerror = null" /><span>{{quesinfo.upUserName}}</span></li>
                                </ul>
                            </div>
                            <ul class="knowledgewjwthfmain_section">
                                <!--循环回答---------开始--------------->
                                <li class="knowledgewjwthfmain_sectionli" ng-repeat="attr in quesinfo.fileTxt.attribute | orderBy:['adopt','anTime']:true"
                                    ng-if="quesinfo.upUserId==setLoginUserId" ng-mouseleave="mouseout(attr)" ng-mouseenter="mousein(attr)">
                                    <div class="knowledgewjwthfmain_sectionli_tx" ng-show="attr.buttonshow" ng-bind-html="attr.answer | to_face">
                                    </div>
                                    <!--不能修改-->
                                    <div ng-if="!attr.buttonshow">
                                        <textarea set-focus class="knowledgewjwthfmain_sectionli_tx" style="border: 1px solid #ccc;"
                                            ng-model="attr.answer">{{attr.answer}}</textarea>
                                    </div>
                                    <div class="knowledgewjwthfmain_sectionli_xq">
                                        <div class="knowledgewjwthfmain_sectionli_name">
                                            <img ng-src="{{attr.anImg}}" src="/images/avatar.png" onerror="javascript:this.src='/images/avatar.png';this.onerror = null" /><div
                                                ng-if="attr.userid==setLoginUserId">
                                                <span ng-bind="'I'|T">我</span>（{{attr.anName}}）</div>
                                            <div ng-if="attr.userid!=setLoginUserId">
                                                {{attr.anName}}</div>
                                        </div>
                                        <div class="knowledgewjwthfmain_sectionli_time" ng-show="attr.buttonshow">
                                            <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shijianaini"></use></svg>
                                            {{attr.anTime}}</div>
                                        <div ng-show="attr.showbottonall||attr.buttonshow2">
                                            <!--------------------------------------------------------------------------------------------------->
                                            <div class="knowledgewjwthfmain_section_xiugaibody" ng-show="attr.buttonshow">
                                                <div class="knowledgewjwthfmain_section_caina" ng-click="caina(attr)">
                                                    <span ng-show="attr.adopt==1" style="color: #CCC;">
                                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-zuijiahuida"></use></svg>
                                                        {{'HaveAdopted'|T}}</span> <span ng-show="attr.adopt==0">
                                                            <svg class="icon" aria-hidden="true"><use xlink:href="#icon-zuijiahuida"></use></svg>
                                                            {{'Adopted'|T}}</span></div>
                                                <div class="knowledgewjwthfmain_section_ychd" ng-click="hiddenanswer(attr)">
                                                    <span ng-if="!attr.showThis" style="color: #CCC;">
                                                        <svg class="icon" aria-hidden="true"><use xlink:href="#icon-yanjing"></use></svg>
                                                        {{'Concealed'|T}}</span> <span ng-if="attr.showThis">
                                                            <svg class="icon" aria-hidden="true"><use xlink:href="#icon-yanjing"></use></svg>
                                                            {{'HiddenAnswer'|T}}</span>
                                                </div>
                                                <div class="knowledgewjwthfmain_section_xiugai" ng-if="attr.userid==setLoginUserId"
                                                    ng-click="updateanswer(attr)">
                                                    <svg class="icon" aria-hidden="true"><use 

xlink:href="#icon-bianji"></use></svg>
                                                    {{'Edit'|T}}</div>
                                                <div class="knowledgewjwthfmain_section_shanchu" ng-if="quesinfo.upUserId==setLoginUserId "
                                                    ng-click="deleteanswer(attr)">
                                                    <svg class="icon" aria- hidden="true"><use xlink:href="#icon-ttpodicon"></use></svg>
                                                    {{'Delete'|T}}</div>
                                            </div>
                                            <div class="knowledgewjwthfmain_section_baocun" ng-show="attr.buttonshow2">
                                                <div class="knowledgewjwthfmain_section_quxiao" ng-click="saveanswer(attr)">
                                                    <svg class="icon" aria-hidden="true"><use xlink:href="#icon-icon_right"></use></svg>
                                                    {{'Save'|T}}</div>
                                                <div class="knowledgewjwthfmain_section_quxiaobc" ng-click="closeanswers(attr)">
                                                    <svg class="icon" aria-hidden="true"><use xlink:href="#icon-wrong"></use></svg>
                                                    {{'Cancel'|T}}</div>
                                            </div>
                                        </div>
                                    </div>
                                </li>
                                <!--循环回答---------结束--------------->
                                <!--循环回答222222222---------开始--------------->
                                <li class="knowledgewjwthfmain_sectionli" ng-repeat="attr in quesinfo.fileTxt.attribute | orderBy:['adopt','anTime'] :desc"
                                    ng-if="quesinfo.upUserId!=setLoginUserId" ng-show="attr.showThis" ng-mouseleave="mouseout(attr)"
                                    ng-mouseenter="mousein(attr)">
                                    <div class="knowledgewjwthfmain_sectionli_tx" ng-show="attr.buttonshow" ng-bind-html="attr.answer | to_face">
                                        _{{attr.adopt}}</div>
                                    <!--不能修改-->
                                    <div ng-if="!attr.buttonshow">
                                        <textarea class="knowledgewjwthfmain_sectionli_tx" set-focus style="border: 1px solid #ccc;"
                                            ng-model="attr.answer">{{attr.answer}}</textarea>
                                    </div>
                                    <div class="knowledgewjwthfmain_sectionli_xq">
                                        <div class="knowledgewjwthfmain_sectionli_name">
                                            <img ng-src="{{attr.anImg}}" src="/images/avatar.png" onerror="javascript:this.src='/images/avatar.png';this.onerror = null" /><span>{{attr.anName}}</span></div>
                                        <div class="knowledgewjwthfmain_sectionli_time" ng-show="attr.buttonshow">
                                            <svg class="icon" aria-hidden="true"><use xlink:href="#icon-shijianaini"></use></svg>
                                            {{attr.anTime}}</div>
                                        <div ng-show="attr.showbottonall">
                                            <!--------------------------------------------------------------------------------------------------->
                                            <div class="knowledgewjwthfmain_section_xiugaibody" ng-show="attr.buttonshow">
                                                <div class="knowledgewjwthfmain_section_xiugai" ng-if="attr.userid==setLoginUserId"
                                                    ng-click="updateanswer(attr)">
                                                    <svg class="icon" aria-hidden="true"><use 

xlink:href="#icon-bianji"></use></svg>
                                                    {{'Edit'|T}}</div>
                                                <div class="knowledgewjwthfmain_section_shanchu" ng-if="attr.userid==setLoginUserId"
                                                    ng-click="deleteanswer(attr)">
                                                    <svg class="icon" aria-hidden="true"><use 

xlink:href="#icon-ttpodicon"></use></svg>
                                                    {{'Delete'|T}}</div>
                                            </div>
                                            <div class="knowledgewjwthfmain_section_baocun" ng-show="!attr.buttonshow">
                                                <div class="knowledgewjwthfmain_section_quxiao" ng-click="saveanswer(attr)">
                                                    <svg class="icon" aria-hidden="true"><use xlink:href="#icon-icon_right"></use></svg>
                                                    {{'Save'|T}}</div>
                                                <div class="knowledgewjwthfmain_section_quxiaobc" ng-click="closeanswers(attr)">
                                                    <svg class="icon" aria-hidden="true"><use xlink:href="#icon-wrong"></use></svg>
                                                    {{'CancelSave'|T}}</div>
                                            </div>
                                        </div>
                                    </div>
                                </li>
                                <!--循环回答222222---------结束--------------->
                            </ul>
                        </div>
                        <div class="knowledgewjwthfmain_footer" ng-show="!quesinfo.fileTxt.close_reply">
                            <textarea newstart-textarea="mytextwd" newstart-submit="addanswer()" newstart-btn="face"
                                newstart-fujian="myfujianwd"></textarea>
                        </div>
                        <div class="newlyaddedfooter" style="width: 560px;" ng-show="hasdoclick">
                            <form class="newlyaddedfooterform">
                            <button class="btn queding" ng-click="savequesinfo()" btncon="btnAdd btnUpd">
                                {{'MakeSure'|T}}</button>
                            <button class="btn quxiao" ng-click="closequesifno()">
                                {{'Cancel'|T}}</button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<v-modal class="vModal--default" onclose="addUserFactory.closeuser()" style="display: none"><!--问题回复弹框-->


</v-modal>
